package ch.ti.bfh.app.loodel.web.model;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Component
@Scope("view")
public class LearningEventWizardModel {

    public enum LearningEventWizardStep {DEFINE_LEARNING_EVENT, DEFINE_TIMESLOTS, SEND_INVITATIONS, FINISHED}

    private LearningEventWizardStep currentStep;

    public void reset() {
        this.currentStep = LearningEventWizardStep.DEFINE_LEARNING_EVENT;
    }

    public LearningEventWizardStep getCurrentStep() {
        return currentStep;
    }

    public void setCurrentStep(LearningEventWizardStep currentStep) {
        this.currentStep = currentStep;
    }


}
